RealTimeEmulationTrader
StockSharp.Algo.Testing
The simulation connection, intended for strategy testing with real connection to trading system through UnderlyngMarketDataAdapter, but without real registering orders on stock. Execution of orders and their trades are emulated by connection, using information by order books, coming from real connection.
Hereda de: BaseEmulationConnector
Constructores
RealTimeEmulationTrader(T, ISecurityProvider)
Initializes a new instance of the RealTimeEmulationTrader.
- underlyngMarketDataAdapter
- IMessageAdapter, through which market data will be got.
- securityProvider
- The provider of information about instruments.
RealTimeEmulationTrader(T, ISecurityProvider, Portfolio, bool)
Initializes a new instance of the RealTimeEmulationTrader.
- underlyngMarketDataAdapter
- IMessageAdapter, through which market data will be got.
- securityProvider
- The provider of information about instruments.
- portfolio
- The portfolio to be used to register orders. If value is not given, the portfolio with default name Simulator will be created.
- ownAdapter
- Track the connection lifetime.
RealTimeEmulationTrader(T, ISecurityProvider, IPortfolioProvider, IExchangeInfoProvider, bool)
Initializes a new instance of the RealTimeEmulationTrader.
- underlyngMarketDataAdapter
- IMessageAdapter, through which market data will be got.
- securityProvider
- The provider of information about instruments.
- portfolioProvider
- The portfolio to be used to register orders. If value is not given, the portfolio with default name Simulator will be created.
- ownAdapter
- Track the connection lifetime.
- exchangeInfoProvider
- Exchanges and trading boards provider.
Propiedades
UnderlyngMarketDataAdapter : T
IMessageAdapter, through which market data will be got.